<HTML><HEAD><TITLE>eplex_instance(++EplexInstance)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(eplex)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>eplex_instance(++EplexInstance)</H1>
Initialises the eplex instance EplexInstance.
<DL>
<DT><EM>EplexInstance</EM></DT>
<DD>Eplex instance name (atom)
</DD>
</DL>
<H2>Description</H2>
  <P>
  Initialises the eplex instance EplexInstance. An eplex instance is an
  instance of the eplex solver, to which eplex linear arithmetic and 
  integrality constraints can be posted, and to which an external LP/MIP
  solver can be associated and used to optimise the posted constraints
  with respect to some objective. 
  </P><P>
  If EplexInstance is not an already existing eplex instance, a new eplex
  instance will be created and initialised. If it is an existing eplex
  instance, and it is not currently being used (having no outstanding posted
  constraints and no associated solver), it is effectively reinitialised.
  Otherwise, the predicate aborts with an error. Note that an eplex instance
  is a module, and each eplex instance can be associated with at most one
  solver at any time and vice versa. An eplex instance should NOT be
  erased (e.g. using erase_module/1), as this would only erase the module,
  but not the information that eplex keeps on it as an eplex instance.
  </P>
  
<H2>See Also</H2>
<A HREF="../../lib/eplex/SE-2.html">$= / 2</A>, <A HREF="../../lib/eplex/SEL-2.html">$=< / 2</A>, <A HREF="../../lib/eplex/SGE-2.html">$>= / 2</A>, <A HREF="../../lib/eplex/ENE-2.html">=:= / 2</A>, <A HREF="../../lib/eplex/EL-2.html">=< / 2</A>, <A HREF="../../lib/eplex/GE-2.html">>= / 2</A>, <A HREF="../../lib/eplex/SNN-2.html">$:: / 2</A>, <A HREF="../../lib/eplex/NN-2.html">:: / 2</A>, <A HREF="../../lib/eplex/integers-1.html">integers / 1</A>, <A HREF="../../lib/eplex/reals-1.html">reals / 1</A>, <A HREF="../../lib/eplex/eplex_solver_setup-1.html">eplex_solver_setup / 1</A>, <A HREF="../../lib/eplex/eplex_solver_setup-4.html">eplex_solver_setup / 4</A>, <A HREF="../../lib/eplex/eplex_probe-2.html">eplex_probe / 2</A>, <A HREF="../../lib/eplex/eplex_solve-1.html">eplex_solve / 1</A>, <A HREF="../../lib/eplex/eplex_get-2.html">eplex_get / 2</A>, <A HREF="../../lib/eplex/eplex_var_get-3.html">eplex_var_get / 3</A>, <A HREF="../../lib/eplex/eplex_cleanup-0.html">eplex_cleanup / 0</A>
</BODY></HTML>
